package com.atguigu.spring5_02.CollectionType;/*
@author joker
@create 2022-03-17 17:05
untitled
*/

import java.util.List;
import java.util.Map;
import java.util.Set;

public class Stu {
    //1. 数组类型属性
    private String[] courses;

    //2. List集合类型属性
    private List<String> list;

    //3. map集合类型属性
    private Map< String,String> maps;

    //4. set集合类型属性
    private Set<String> sets;

    public void setCourses(String[] courses) {
        this.courses = courses;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public void setMaps(Map<String, String> maps) {
        this.maps = maps;
    }

    public void setSets(Set<String> sets) {
        this.sets = sets;
    }

    public String[] getCourses() {
        return courses;
    }

    public List<String> getList() {
        return list;
    }

    public Map<String, String> getMaps() {
        return maps;
    }

    public Set<String> getSets() {
        return sets;
    }
}
